package com.zjmzxfzhl.modules.app.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zjmzxfzhl.common.core.base.BaseService;
import com.zjmzxfzhl.modules.app.entity.AppProdUser;
import com.zjmzxfzhl.modules.app.entity.AppStockUser;
import com.zjmzxfzhl.modules.app.form.AppProdUserVo;
import com.zjmzxfzhl.modules.app.form.AppStockUserVo;

import java.util.List;

/**
 * Service
 * 
 * @author 张森荣
 */
public interface AppStockUserService extends BaseService<AppStockUser> {
    /**
     * 分页查询
     *
     * @param page
     * @param appStockUserVo
     * @return
     */
    IPage<AppStockUserVo> list(IPage<AppStockUserVo> page, AppStockUserVo appStockUserVo);

    /**
     * 分页查询
     *
     * @param page
     * @param appStockUserVo
     * @return
     */
    List<AppStockUserVo> getList(IPage<AppStockUserVo> page, AppStockUserVo appStockUserVo);
    /**
     * 新增关联
     *
     * @param appStockUser
     * @return
     */
    boolean saveAppStockUser(AppStockUser appStockUser);

    /**
     * 删除关联
     *
     * @param appStockUser
     * @return
     */
    boolean relationDel(AppStockUser appStockUser);
}
